<template>
  <div class="say-hello" @click="say">
    点我
  </div>
</template>

<script>
export default {
  name: 'SayHello',
  methods: {
    say () {
      console.log(this)
    }
  }
}
</script>

<style lang="less" scoped>
.say-hello{
  width: 40px;
  height: 40px;
  background: cornsilk;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  position: fixed;
  right: 20px;
  bottom: 80px;
}
</style>
